Skip to content

ci: bump actions/checkout to v7 - #3

Merged
Steel-tech merged 2 commits into
mainfrom
ci/checkout-v7
Aug 8, 2026
Merged

ci: bump actions/checkout to v7#3
Steel-tech merged 2 commits into
mainfrom
ci/checkout-v7

Conversation

@Steel-tech

@Steel-tech Steel-tech commented Aug 8, 2026

Copy link
Copy Markdown
Contributor

The first CI run on main emitted a deprecation annotation on both test jobs:

Node.js 20 is deprecated. The following actions target Node.js 20 but are being forced to run on Node.js 24: actions/checkout@v4

Bumps to actions/checkout@v7. Verified against the upstream repo rather than assumed — v5.1.0, v6.1.0, and v7.0.1 all declare using: node24, so any would clear the warning; v7.0.1 is the current stable major.

Expected result: the same three green jobs with no deprecation annotation.

Post-Deploy Monitoring & Validation

Watch this PR's run for the absence of the Node 20 annotation, with all three jobs still green and 91 tests per runner. No runtime or production impact — CI configuration only.


Compound Engineering
Claude Code

Summary by CodeRabbit

  • Chores
    • Updated automated build and validation workflows to use the latest repository checkout action.
    • Improved workflow credential handling to reduce unnecessary access during automated runs.

The first CI run on main warned that actions/checkout@v4 targets Node.js 20
and is being force-run on Node 24. v5 onward all ship `using: node24`; v7.0.1
is the current stable major.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01PfAfAujueuZ3rDTiL9apx3
@coderabbitai

coderabbitai Bot commented Aug 8, 2026

Copy link
Copy Markdown

Review Change Stack

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro Plus

Run ID: 2c1c6232-7971-414f-821b-550eff58e74a

📥 Commits

Reviewing files that changed from the base of the PR and between 737b05b and 0a6dd79.

📒 Files selected for processing (1)
  • .github/workflows/ci.yml
🚧 Files skipped from review as they are similar to previous changes (1)
  • .github/workflows/ci.yml

📝 Walkthrough

Walkthrough

The CI workflow updates the checkout action from actions/checkout@v4 to actions/checkout@v7 and disables persisted Git credentials in the test and clippy jobs.

Changes

CI checkout action update

Layer / File(s) Summary
Update CI checkout actions
.github/workflows/ci.yml
The test and clippy jobs now use actions/checkout@v7 instead of @v4. Both jobs disable persisted Git credentials.

Estimated code review effort: 1 (Trivial) | ~2 minutes

🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title clearly and concisely describes the main change: updating actions/checkout to version 7 in CI.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch ci/checkout-v7

Comment @coderabbitai help to get the list of available commands.

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 1

🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

Inline comments:
In @.github/workflows/ci.yml:
- Line 29: Update both actions/checkout@v7 steps in the CI workflow to set
persist-credentials to false, unless either checkout is followed by a step that
explicitly requires authenticated Git operations.
🪄 Autofix

Fix all unresolved CodeRabbit comments on this PR:

  • Push a commit to this branch (recommended)
  • Create a new PR with the fixes

ℹ️ Review info
⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro Plus

Run ID: 8fe47d90-4467-43ae-8ef2-91ed21563073

📥 Commits

Reviewing files that changed from the base of the PR and between ab4c716 and 737b05b.

📒 Files selected for processing (1)
  • .github/workflows/ci.yml

Comment thread .github/workflows/ci.yml
checkout defaults to persist-credentials: true, which leaves the job token
in .git/config where it can escape through uploaded artifacts (the
"artipacked" class; flagged by zizmor via CodeRabbit).

Neither job does authenticated git work — they install a toolchain and run
cargo — so persisting the credential is exposure with no upside.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01PfAfAujueuZ3rDTiL9apx3
@Steel-tech
Steel-tech merged commit d03ec60 into main Aug 8, 2026
4 checks passed
@Steel-tech
Steel-tech deleted the ci/checkout-v7 branch August 8, 2026 06:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant